﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LabChecker.Models.CheckResults.Task
{
    public class CompilationError : TaskBase
    {
        public CompilationError(int line, int column, string message)        
        {
            Line = line;
            Column = column;
            ErrorMessage = message;
        }

        public int Line { get; private set; }

        public int Column { get; private set; }

        public string ErrorMessage { get; private set; }

        public override TaskCheckStatus Status
        {
            get { return TaskCheckStatus.CompilationError; }
        }
    }
}
